<?php

namespace common\models\base;

use Yii;

/**
 * This is the model class for table "{{%jzg_pdf_get_log}}".
 *
 * @property int $id
 * @property string $order_num
 * @property int $created_at
 * @property string $resp_url
 */
class JzgPdfGetLog extends \yii\db\ActiveRecord
{
    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return '{{%jzg_pdf_get_log}}';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['order_num', 'created_at'], 'required'],
            [['created_at'], 'integer'],
            [['resp_url'], 'string'],
            [['order_num'], 'string', 'max' => 150],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'id' => Yii::t('app', 'ID'),
            'order_num' => Yii::t('app', 'Order Num'),
            'created_at' => Yii::t('app', 'Created At'),
            'resp_url' => Yii::t('app', 'Resp Url'),
        ];
    }
}
